package learn.java.aop.aspectj;

public aspect HelloAspect {

    pointcut HelloWorldPointCut() : execution(* learn.java.aop.aspectj.MyService.*(..));

    before() : HelloWorldPointCut(){
        System.out.println("begin intercept");
    }

    after() returning: HelloWorldPointCut(){
        System.out.println("end intercept");
    }

}
